<template>
  <div class="map">
    <div class="map-header">
      <slot name="header"></slot>
    </div>
    <div class="map-main">
      <slot name="main"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'index',
  data () {
    return {}
  }
}
</script>

<style lang="scss" scoped>
  .map {
    margin: 2rem;
    padding: 2rem;
    box-sizing: border-box;
    background: url("../../assets/block-wrapper.png") left top/100% 100%;

    .echarts {
      width: 100%;
      height: 560px;
    }

    .map-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 2rem;
    }

    .map-main {
      position: relative;
    }
  }
</style>
